import request from '/@/utils/request'

//获取基础信息
export const getWebInfo = (params?: any) => request.get('/setting/getWebInfo', params);

//设置基础信息
export const setWebInfo = (params?: any) => request.post('/setting/setWebInfo', params);

//获取备案信息
export const getWebRecord = (params?: any) => request.get('/setting/getWebRecord', params);

//设置备案信息
export const setWebRecord = (params?: any) => request.post('/setting/setWebRecord', params);

//获取地图信息
export const getMapInfo = (params?: any) => request.get('/setting/getMapInfo', params);

//设置地图信息
export const setMapInfo = (params?: any) => request.post('/setting/setMapInfo', params);

//协议详情
export const agreementDetail = (params?: any) => request.get('/setting/agreement/detail', params);

//编辑协议
export const agreementEdit = (params?: any) => request.post('/setting/agreement/edit', params);

//获取邮件信息
export const getMailInfo = (params?: any) => request.get('/setting/getMailInfo', params);

//设置邮件信息
export const setMailInfo = (params?: any) => request.post('/setting/setMailInfo', params);

//获取上传信息
export const getUploadInfo = (params?: any) => request.get('/setting/getUploadInfo', params);

//设置上传信息
export const setUploadInfo = (params?: any) => request.post('/setting/setUploadInfo', params);